Currently, the numbers in the Results table increases for every simulation run. Therefore we would like to delete the table content when we reset the simulation in the EventController .

We insert a Reset Method for that purpose.

Insert another Method.

Rename the Method to Reset (notice how the default icon changes).

Type in the following source code:

is
do

       Results.delete;
end;

Click Apply in the toolbar of the Method window and close the Method.

We have now completed the model, however, the tutorial continues with additional explanation about the Class Library.